﻿<UserControl x:Class="Sakura.Games.StgFramework.Builder.UI.DamageFixTableEditor"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300">
	<Grid>
		<ListView>
			<ListView.View>
				<GridView>
					<GridViewColumn Header="伤害类型" Width="auto" />
					<GridViewColumn Header="修正值">
						<GridViewColumn.CellTemplate>
							<DataTemplate>
								<Track Minimum="-1" Maximum="1" Value="{Binding Path=Value}" />
							</DataTemplate>
						</GridViewColumn.CellTemplate>
					</GridViewColumn>
					<GridViewColumn>
						<GridViewColumn.CellTemplate>
							<DataTemplate>
								<TextBox Text="{Binding Path=Value, StringFormat={}{0:f2}}" MaxLength="6" />
							</DataTemplate>
						</GridViewColumn.CellTemplate>
					</GridViewColumn>
				</GridView>
			</ListView.View>
		</ListView>
	</Grid>
</UserControl>
